<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.modellist');

class CprojectModelSections extends JModelList {

    protected function getListQuery() {
        $where = array(
            'a.published = 1'
        );

        return CprojectDBHelper::getCprojects($sql = true, $where);
    }

}

?>
